﻿<Page
    x:Class="WindowsStoreSample.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:WindowsStoreSample"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Page.BottomAppBar>
        <CommandBar  IsSticky="True" IsOpen="True">
            <CommandBar.PrimaryCommands>
                <AppBarButton Icon="Back" Label="Left" Name="LeftButton" Click="LeftButton_Click"/>
                <AppBarButton Icon="Forward" Label="Right" Name="RightButton" Click="RightButton_Click"/>
                <AppBarButton  Label="Headlight" Name="HeadlightButton" Click="HeadlightButton_Click">
                    <AppBarButton.Icon>
                        <PathIcon >
                            <PathIcon.Data>
                                M8,24.5568008422852L17.7116279602051,24.5568008422852 18.3803997039795,26.1567993164063 8,26.1567993164063 8,24.5568008422852z M8,20.823600769043L16.9321632385254,20.823600769043 16.9691486358643,21.4486083984375 17.0147266387939,21.8236122131348 17.1332015991211,22.4236011505127 8,22.4236011505127 8,20.823600769043z M8,17.0900001525879L17.103199005127,17.0900001525879 16.9188385009766,18.6900005340576 8,18.6900005340576 8,17.0900001525879z M22.6425590515137,14.5419998168945L21.7292747497559,16.820764541626 21.3987998962402,19.4952602386475 21.7890300750732,22.3919773101807 22.8581581115723,24.8015995025635 26.4678115844727,24.2724666595459 29.3837032318115,23.1497421264648 31.3331832885742,21.5715236663818 31.8603134155273,20.6547584533691 32.0435981750488,19.6759071350098 31.8552360534668,18.6839942932129 31.3138446807861,17.7561931610107 29.3141689300537,16.1647968292236 26.3289489746094,15.0454807281494 22.6425590515137,14.5419998168945z M8,13.3568000793457L18.3020000457764,13.3568000793457 18.125093460083,13.9818029403687 17.9586429595947,14.356803894043 17.6582450866699,14.9568004608154 8,14.9568004608154 8,13.3568000793457z M21.4165191650391,13L26.211124420166,13.6548843383789 30.0937252044678,15.1106519699097 31.5774536132813,16.0804843902588 32.6944923400879,17.1804790496826 33.3986206054688,18.3872814178467 33.6436004638672,19.6775398254395 33.4052352905273,20.9505043029785 32.7196884155273,22.1427192687988 31.6312866210938,23.2317447662354 30.1843509674072,24.1951389312744 26.3921775817871,25.6552753448486 21.6977615356445,26.343599319458 20.306095123291,23.2094593048096 19.7988014221191,19.4421424865723 20.2287464141846,15.9638233184814 21.4165191650391,13z
                            </PathIcon.Data>
                        </PathIcon>
                    </AppBarButton.Icon>
                </AppBarButton>
                <AppBarButton  Label="Party" Name="PartyButton" Click="PartyButton_Click">
                    <AppBarButton.Icon>
                        <PathIcon Margin="-2,4,2,-4" >
                            <PathIcon.Data>
                                M9.15919971466064,21.2399997711182L13.3124008178711,21.2399997711182 13.3124008178711,21.4815998077393 9.15919971466064,21.4815998077393 9.15919971466064,21.2399997711182z M8.05200004577637,20.336799621582L12.3644008636475,20.336799621582 12.3644008636475,20.5792007446289 8.05200004577637,20.5792007446289 8.05200004577637,20.336799621582z M7,19.4780006408691L11.6240005493164,19.4780006408691 11.6240005493164,19.7196006774902 7,19.7196006774902 7,19.4780006408691z M24.0602798461914,16.3656005859375L25.3201503753662,16.620002746582 26.3490524291992,17.3137493133545 27.0427989959717,18.3426513671875 27.2972011566162,19.6025199890137 27.0427989959717,20.8622379302979 26.3490524291992,21.890926361084 25.3201503753662,22.5844802856445 24.0602798461914,22.8388004302979 22.800464630127,22.5844802856445 21.7716445922852,21.890926361084 21.0779705047607,20.8622379302979 20.823600769043,19.6025199890137 21.0779705047607,18.3426513671875 21.7716445922852,17.3137493133545 22.800464630127,16.620002746582 24.0602798461914,16.3656005859375z M32.1184005737305,7L32.1128463745117,7.9619312286377 32.0867538452148,7.96660137176514 30.8744449615479,8.20011901855469 29.3867034912109,8.5389518737793 28.0473861694336,8.94386291503906 27.2803401947021,9.37561416625977 27.1156101226807,9.47327995300293 26.8151950836182,9.73076248168945 26.6697540283203,10.0947914123535 26.96994972229,10.512092590332 32.0953598022461,10.9913101196289 32.0319213867188,21.9786376953125 28.2095279693604,22.2364768981934 27.7714824676514,22.2469177246094 28.3855648040771,21.0128555297852 28.6058921813965,19.602632522583 28.2433052062988,17.8064556121826 27.2544403076172,16.3396434783936 25.7876415252686,15.3506717681885 23.9912509918213,14.9880199432373 22.1954326629639,15.3506717681885 20.728874206543,16.3396434783936 19.7400550842285,17.8064556121826 19.3774528503418,19.602632522583 19.6324310302734,21.1173210144043 20.3391799926758,22.4203605651855 20.1005783081055,22.4259986877441 14.7805328369141,22.0301990509033 14.7805328369141,21.2723960876465 13.368800163269,19.8259925842285 13.368800163269,16.3484230041504 14.0658664703369,15.7458772659302 14.1432466506958,15.4015417098999 14.0857391357422,15.2238330841064 14.0785293579102,15.1948003768921 16.7256011962891,15.1948003768921 16.2837696075439,14.4398107528687 15.5467014312744,13.9811677932739 14.0549869537354,13.6576824188232 13.9833650588989,13.6531543731689 13.9851055145264,13.6193284988403 14.0406427383423,12.9761514663696 14.0745258331299,12.7156543731689 14.3155279159546,12.3629989624023 14.5565299987793,12.1650533676147 14.8503074645996,12.1337127685547 14.7285623550415,11.373010635376 12.895414352417,9.47959995269775 12.8692092895508,9.47907447814941 12.6970710754395,9.5614070892334 12.2667064666748,9.75027179718018 11.1476001739502,10.0988006591797 11.1615505218506,9.91694259643555 11.2594108581543,9.47037982940674 12.0429248809814,8.37720012664795 18.5508003234863,8.89381885528564 18.4069976806641,8.96157455444336 17.9047794342041,9.12073612213135 16.9379367828369,9.30514144897461 15.4002532958984,9.44863033294678 15.2755880355835,9.45501804351807 15.4173774719238,9.5480432510376 17.0479297637939,10.9783554077148 18.700231552124,11.6933879852295 18.7700157165527,11.7155408859253 19.7216949462891,11.6140117645264 22.666633605957,10.1502304077148 25.2032375335693,9.03352737426758 27.3363361358643,8.21708393096924 29.070764541626,7.65407705307007 30.4113540649414,7.29768657684326 31.3629341125488,7.10109090805054 31.9303398132324,7.01746940612793 32.1184005737305,7z
                            </PathIcon.Data>
                        </PathIcon>
                    </AppBarButton.Icon>
                </AppBarButton>
                
                
                <AppBarButton Label="Off" Name="BlinkersOffButton" Click="BlinkersOffButton_Click">
                     <AppBarButton.Icon>
                        <PathIcon >
                            <PathIcon.Data>
                                M14.9409122467041,11.8359842300415L11.8372001647949,14.9396800994873 16.6969299316406,19.7991390228271 11.8376007080078,24.6583995819092 14.9408206939697,27.76198387146 19.8004760742188,22.9025115966797 24.6602172851563,27.76198387146 27.7636013031006,24.6583976745605 22.9040985107422,19.798999786377 27.7636013031006,14.9396800994873 24.6601963043213,11.8359842300415 19.8005714416504,16.6955413818359 14.9409122467041,11.8359842300415z M19.7999992370605,7L22.3794059753418,7.26009082794189 24.7819843292236,8.00601959228516 26.9562339782715,9.18627262115479 28.8506526947021,10.7493362426758 30.4137401580811,12.6436948776245 31.593994140625,14.817834854126 32.3399124145508,17.2202415466309 32.5999984741211,19.7994003295898 32.3399124145508,22.3797092437744 31.593994140625,24.7826557159424 30.4137401580811,26.9568653106689 28.8506526947021,28.8509654998779 26.9562339782715,30.4135837554932 24.7819843292236,31.5933437347412 22.3794059753418,32.3388748168945 19.7999992370605,32.5988006591797 17.2204818725586,32.3388748168945 14.817850112915,31.5933437347412 12.643593788147,30.4135837554932 10.7492008209229,28.8509654998779 9.18615627288818,26.9568653106689 8.00594997406006,24.7826557159424 7.26006889343262,22.3797092437744 7,19.7994003295898 7.26006889343262,17.2202415466309 8.00594997406006,14.817834854126 9.18615627288818,12.6436948776245 10.7492008209229,10.7493362426758 12.643593788147,9.18627262115479 14.817850112915,8.00601959228516 17.2204818725586,7.26009082794189 19.7999992370605,7z
                            </PathIcon.Data>
                        </PathIcon>
                    </AppBarButton.Icon>
                </AppBarButton>
            </CommandBar.PrimaryCommands>
        </CommandBar>
    </Page.BottomAppBar>


    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <local:VirtualJoystick x:Name="JoystickControl" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="0,0,30,118"/>
        <Slider x:Name="TrimmerSlider" HorizontalAlignment="Left" Margin="986,49,0,0" VerticalAlignment="Top" Width="340" Maximum="15" LargeChange="1" Value="8"/>
    </Grid>
</Page>
